package com.qiyeji.real_estate.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import java.util.Date;

@HeadRowHeight(50)// 设置表头高度
@ColumnWidth(40)
public class project {
    @ExcelProperty(value = {"项目编号"}, index = 0)
    private String pcode;

    @ExcelProperty(value = {"客户编号"}, index = 2)
    private String cid;

    @ExcelProperty(value = {"客户名称"}, index = 3)
    private String cname;

    @ExcelProperty(value = {"项目名称"}, index = 1)
    private String pname;

    @ExcelProperty(value = {"建模主管"}, index = 4)
    private String modelCharge;

    @ExcelProperty(value = {"渲染主管"}, index = 5)
    private String renderCharge;

    @ExcelProperty(value = {"后期主管"}, index = 6)
    private String laterCharge;

    @ExcelProperty(value = {"开始时间"}, index = 7)
    private String buildTime;

    @ExcelProperty(value = {"结束时间"}, index = 8)
    private String endTime;

    @ExcelProperty(value = {"报价"}, index = 9)
    private String price;

    @ExcelProperty(value = {"项目状态"}, index = 10)
    private String pstate;

    public project(String pcode, String cid, String pname, String modelCharge, String renderCharge, String laterCharge, String buildTime, String endTime, String price) {
        this.pcode = pcode;
        this.cid = cid;
        this.pname = pname;
        this.modelCharge = modelCharge;
        this.renderCharge = renderCharge;
        this.laterCharge = laterCharge;
        this.buildTime = buildTime;
        this.endTime = endTime;
        this.price = price;
    }

    public project(String pcode, String cid, String pname, String modelCharge, String renderCharge, String laterCharge, String buildTime, String endTime, String price, String pstate) {
        this.pcode = pcode;
        this.cid = cid;
        this.pname = pname;
        this.modelCharge = modelCharge;
        this.renderCharge = renderCharge;
        this.laterCharge = laterCharge;
        this.buildTime = buildTime;
        this.endTime = endTime;
        this.price = price;
        this.pstate = pstate;
    }

    public project(String pcode, String cid, String cname, String pname, String modelCharge, String renderCharge, String laterCharge, String buildTime, String endTime, String price, String pstate) {
        this.pcode = pcode;
        this.cid = cid;
        this.cname = cname;
        this.pname = pname;
        this.modelCharge = modelCharge;
        this.renderCharge = renderCharge;
        this.laterCharge = laterCharge;
        this.buildTime = buildTime;
        this.endTime = endTime;
        this.price = price;
        this.pstate = pstate;
    }

    public project(project project) {
        this.pcode = project.pcode;
        this.cid = project.cid;
        this.pname = project.pname;
        this.modelCharge = project.modelCharge;
        this.renderCharge = project.renderCharge;
        this.laterCharge = project.laterCharge;
        this.buildTime = project.buildTime;
        this.endTime = project.endTime;
        this.price = project.price;
        this.pstate = project.pstate;
    }


    public project() {
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode == null ? null : pcode.trim();
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid == null ? null : cid.trim();
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname == null ? null : pname.trim();
    }

    public String getModelCharge() {
        return modelCharge;
    }

    public void setModelCharge(String modelCharge) {
        this.modelCharge = modelCharge == null ? null : modelCharge.trim();
    }

    public String getRenderCharge() {
        return renderCharge;
    }

    public void setRenderCharge(String renderCharge) {
        this.renderCharge = renderCharge == null ? null : renderCharge.trim();
    }

    public String getLaterCharge() {
        return laterCharge;
    }

    public void setLaterCharge(String laterCharge) {
        this.laterCharge = laterCharge == null ? null : laterCharge.trim();
    }

    public String getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(String buildTime) {
        this.buildTime = buildTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPstate() {
        return pstate;
    }

    public void setPstate(String pstate) {
        this.pstate = pstate == null ? null : pstate.trim();
    }

    public void setcName(String cName) {
        this.cname = cName;
    }

    public String getcName() {
        return cname;
    }

    @Override
    public String toString() {
        return "project{" +
                "pcode='" + pcode + '\'' +
                ", cid='" + cid + '\'' +
                ", cName='" + cname + '\'' +
                ", pname='" + pname + '\'' +
                ", modelCharge='" + modelCharge + '\'' +
                ", renderCharge='" + renderCharge + '\'' +
                ", laterCharge='" + laterCharge + '\'' +
                ", buildTime='" + buildTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", price='" + price + '\'' +
                ", pstate='" + pstate + '\'' +
                '}';
    }
}